package Text.Text002;

public class Dog extends Pet{
    public Dog(String name) {
        super(name);
    }

    public void eat() {
        System.out.println("小狗爱吃狗粮");
    }

    public void play(){
        System.out.println("狗子可以玩弄猫");
    }
}
